package org.wutopia.rocketmq.exsample.sdgasdg;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class OrderEvent {
    private String orderId;
    private BigDecimal amount;

    // 修复LocalDateTime反序列化
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
